/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.cosmact.vxml.model;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Dialog Connection</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link org.cosmact.vxml.model.DialogConnection#getSource <em>Source</em>}</li>
 *   <li>{@link org.cosmact.vxml.model.DialogConnection#getTarget <em>Target</em>}</li>
 *   <li>{@link org.cosmact.vxml.model.DialogConnection#getConnectionType <em>Connection Type</em>}</li>
 *   <li>{@link org.cosmact.vxml.model.DialogConnection#isIsConnect <em>Is Connect</em>}</li>
 * </ul>
 * </p>
 *
 * @see org.cosmact.vxml.model.ModelPackage#getDialogConnection()
 * @model
 * @generated
 */
public interface DialogConnection extends EObject {
	/**
         * Returns the value of the '<em><b>Source</b></em>' reference.
         * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Source</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
         * @return the value of the '<em>Source</em>' reference.
         * @see #setSource(Dialog)
         * @see org.cosmact.vxml.model.ModelPackage#getDialogConnection_Source()
         * @model required="true"
         * @generated
         */
	Dialog getSource();

	/**
         * Sets the value of the '{@link org.cosmact.vxml.model.DialogConnection#getSource <em>Source</em>}' reference.
         * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
         * @param value the new value of the '<em>Source</em>' reference.
         * @see #getSource()
         * @generated
         */
	void setSource(Dialog value);

	/**
         * Returns the value of the '<em><b>Target</b></em>' reference.
         * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Target</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
         * @return the value of the '<em>Target</em>' reference.
         * @see #setTarget(Dialog)
         * @see org.cosmact.vxml.model.ModelPackage#getDialogConnection_Target()
         * @model required="true"
         * @generated
         */
	Dialog getTarget();

	/**
         * Sets the value of the '{@link org.cosmact.vxml.model.DialogConnection#getTarget <em>Target</em>}' reference.
         * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
         * @param value the new value of the '<em>Target</em>' reference.
         * @see #getTarget()
         * @generated
         */
	void setTarget(Dialog value);

	/**
         * Returns the value of the '<em><b>Connection Type</b></em>' reference.
         * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Connection Type</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
         * @return the value of the '<em>Connection Type</em>' reference.
         * @see #setConnectionType(DialogConnectionType)
         * @see org.cosmact.vxml.model.ModelPackage#getDialogConnection_ConnectionType()
         * @model required="true"
         * @generated
         */
	DialogConnectionType getConnectionType();

	/**
         * Sets the value of the '{@link org.cosmact.vxml.model.DialogConnection#getConnectionType <em>Connection Type</em>}' reference.
         * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
         * @param value the new value of the '<em>Connection Type</em>' reference.
         * @see #getConnectionType()
         * @generated
         */
	void setConnectionType(DialogConnectionType value);

	/**
         * Returns the value of the '<em><b>Is Connect</b></em>' attribute.
         * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Is Connect</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
         * @return the value of the '<em>Is Connect</em>' attribute.
         * @see #setIsConnect(boolean)
         * @see org.cosmact.vxml.model.ModelPackage#getDialogConnection_IsConnect()
         * @model
         * @generated
         */
	boolean isIsConnect();

	/**
         * Sets the value of the '{@link org.cosmact.vxml.model.DialogConnection#isIsConnect <em>Is Connect</em>}' attribute.
         * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
         * @param value the new value of the '<em>Is Connect</em>' attribute.
         * @see #isIsConnect()
         * @generated
         */
	void setIsConnect(boolean value);

	/**
         * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
         * @model sourceRequired="true" targetRequired="true"
         * @generated
         */
	void reconnect(Dialog source, Dialog target);

	/**
         * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
         * @model
         * @generated
         */
	void disconnect();

	/**
         * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
         * @model
         * @generated
         */
	void reconnect();

} // DialogConnection
